<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">

</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(contract.id)!}"/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">合同标题</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input contractTitle"
                   lay-verify="required" name="contractTitle" id="contractTitle"  value="${(contract.contractTitle)!}" placeholder="请输入合同标题">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">合同类型</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input contractType"
                   lay-verify="required" name="contractType" id="contractType"  value="${(contract.contractType)!}" placeholder="请输入合同类型">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">合同内容</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input contractContent"
                   lay-verify="required" name="contractRemark" id="contractRemark"  value="${(contract.remarks)!}" placeholder="请输入合同内容">
        </div>
    </div>

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="addOrUpdateContrast">确认
            </button>
            <a class="layui-btn layui-btn-lg layui-btn-normal"  id="closeDlg" href="javascript:void(0)">取消</a>
        </div>
    </div>
</form>
<script type="text/javascript" src="${ctx.contextPath}/public/js/contract/add.update.js"></script>
</body>
</html>